package com.itheima.compositon;

public class CompositionTest {
    public static void main(String[] args) {
        Demo01 tom = new Demo01();
        tom.Go();
        System.out.println("---------------");
        Demo02 Mike = new Demo02();
        Mike.Go();
    }
}
